package cn.ad.server.web.spring.model.gdt;

import com.baidu.bjf.remoting.protobuf.FieldType;
import com.baidu.bjf.remoting.protobuf.annotation.Protobuf;
import org.apache.commons.lang3.builder.ToStringBuilder;

import java.util.List;

public class GDTUser {

	@Protobuf(order = 1)
	private String id;

	@Protobuf(fieldType = FieldType.OBJECT, order = 2)
	private GDTDemographic user_demographic;

	// @Protobuf(fieldType = FieldType.OBJECT)
	// private List<GDTVertical> verticals;
	@Protobuf(fieldType = FieldType.UINT32, order = 10)
	private List<Integer> audience_ids;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public GDTDemographic getUser_demographic() {
		return user_demographic;
	}

	public void setUser_demographic(GDTDemographic user_demographic) {
		this.user_demographic = user_demographic;
	}

	public List<Integer> getAudience_ids() {
		return audience_ids;
	}

	public void setAudience_ids(List<Integer> audience_ids) {
		this.audience_ids = audience_ids;
	}

	// public List<GDTVertical> getVerticals() {
	// return verticals;
	// }
	//
	// public void setVerticals(List<GDTVertical> verticals) {
	// this.verticals = verticals;
	// }

	@Override
	public String toString() {
		return ToStringBuilder.reflectionToString(this);
	}

}
